const data = [

  {
    "path": "/",
    "component": "Layout",
    "redirect": "index",
    "children": [
      {

        "path": "/index",
        "name": "Index",
        "component": "index/index",
        "meta": {
          "title": "首页",
          "icon": "home",
          "affix": true,
          "show":"0",

        }
      }
    ]
  },
  {
    path: "/personalCenter",
    component: "Layout",
    hidden: true,
    redirect: "personalCenter",
    children: [
      {
        path: "personalCenter",
        name: "PersonalCenter",
        component: "views/personalCenter/index",
        meta: {
          title: "个人中心",
        },
      },
    ],
  },
  {



     "name": "System",
     "path": "/system",
     "redirect": "index",
      "alwaysShow": true,
     "meta": {
      "icon": "box-open",
      "title": "系统设置"
    },
        "children": [
          {
            "name": "Systematic",
            "path": "systematic",
            "redirect": "string",
            "alwaysShow": true,
            "component": "string",
            "meta": {
              "icon": "link",
              "title": "组织管理"
            },




              "children":[
                {


                  "meta": {
                    "icon": "string",
                    "title": "角色管理"
                  },
                  "name": "Role",
                  "path": "role",
                  "redirect": "role",

                },
                {


                  "meta": {
                    "icon": "string",
                    "title": "机构管理"
                  },
                  "name": "Mechanism",
                  "path": "mechanism",
                  "redirect": "mechanism",

                },
                {


                  "meta": {
                    "icon": "string",
                    "title": "资源管理"
                  },
                  "name": "Shortages",
                  "path": "shortages",
                  "redirect": "shortages",

                },
                {


                  "meta": {
                    "icon": "string",
                    "title": "人员管理"
                  },
                  "name": "Personnel",
                  "path": "personnel",
                  "redirect": "personnel",

                }
              ],


          },
          {
            "name": "Berth",
            "path": "berth",
            "redirect": "string",
            "alwaysShow": true,
            "component": "string",
            "meta": {
              "icon": "procedures",
              "title": "床位设置"
            },




            "children":[
              {


                "meta": {
                  "icon": "string",
                  "title": "楼宇管理"
                },
                "name": "Storied",
                "path": "storied",
                "redirect": "storied",

              },
              {


                "meta": {
                  "icon": "string",
                  "title": "房间管理"
                },
                "name": "Room",
                "path": "room",
                "redirect": "room",

              },
              {


                "meta": {
                  "icon": "string",
                  "title": "床位管理"
                },
                "name": "Berth",
                "path": "berth",
                "redirect": "berth",

              },
            ],


          },

          {
            "name": "Itemmanager",
            "path": "itemmanager",
            "redirect": "string",
            "alwaysShow": true,
            "component": "string",
            "meta": {
              "icon": "puzzle-piece",
              "title": "项目管理"
            },




            "children":[
              {


                "meta": {
                  "icon": "string",
                  "title": "套餐设置"
                },
                "name": "Meal",
                "path": "meal",
                "redirect": "meal",

              },
              {


                "meta": {
                  "icon": "string",
                  "title": "类目设置"
                },
                "name": "Category",
                "path": "category",
                "redirect": "category",

              },

            ],


          },
          {
            "name": "Dictionary",
            "path": "dictionary",
            'redirect': 'noRedirect',

            "component": "string",
            "meta": {
              "icon": "book",
              "title": "系统字典"
            },







          },
          {
            "name": "Nurse",
            "path": "nurse",
            'redirect': 'noRedirect',

            "component": "string",
            "meta": {
              "icon": "user-nurse",
              "title": "护理等级"
            },

          },
          {
            "name": "Roomtype",
            "path": "roomtype",
            'redirect': 'noRedirect',

            "component": "string",
            "meta": {
              "icon": "restroom",
              "title": "房间类型"
            },







          }
        ],



  },

  {



    "name": "support",
    "path": "/support",
    "redirect": "support",
    "alwaysShow": true,
    "meta": {
      "icon": "user-clock",
      "title": "护工管理"
    },
    "children": [
      {
        "name": "staff",
        "path": "staff",
        "redirect": "string",
        "component": "string",
        "meta": {

          "title": "护工设置"
        },
      },
      {
        "name": "volunteer",
        "path": "volunteer",
        "redirect": "string",
        "component": "string",
        "meta": {

          "title": "志愿者设置"
        },
      },



    ],



  },


  {



    "name": "archives",
    "path": "archives",
    "redirect": "archives",
    "alwaysShow": true,
    "meta": {
      "icon": "file-contract",
      "title": "老人档案"
    },
    "children": [
      {
        "name": "basicarchives",
        "path": "basicarchives",
        "redirect": "string",
        "component": "string",
        "meta": {

          "title": "基础档案"
        },
      },


    ],



  },


  {



    "name": "move",
    "path": "/move",
    "redirect": "move",
    "alwaysShow": true,
    "meta": {
      "icon": "users-cog",
      "title": "入住管理"
    },
    "children": [
      {
        "name": "moveset",
        "path": "moveset",
        "redirect": "moveset",
        "component": "string",
        "meta": {

          "title": "办理入住"
        },
      },
      {
        "name": "reserve",
        "path": "reserve",
        "redirect": "reserve",
        "component": "string",
        "meta": {

          "title": "床位预定"
        },
      },
      {
        "name": "taste",
        "path": "taste",
        "redirect": "taste",
        "component": "string",
        "meta": {

          "title": "兴趣小组管理"
        },
      },


    ],



  },
  {
    path: "/nursing",
    redirect: "noRedirect",
    name: "Nursing",
    alwaysShow: true,
    meta: { title: "护理设置", icon: "file-contract" },
    children: [
      {
        path: "record",

        name: "Record",
        meta: {
          title: "护理记录",
          permissions: ["admin"],
        },
      },
      {
        path: "template",
        name: "Template",
        meta: {
          title: "护理计划模板",
          permissions: ["admin"],
        },
      },

    ]
  },
  {
    path: "/assessment",
    redirectredirect: "noRedirect",
    name: "Assessment",
    alwaysShow: true,
    meta: { title: "评估管理", icon: "file-contract" },
    children: [
      {
        path: "records",
        name: "AssessmentRecord",
        meta: {
          title: "评估记录",
          permissions: ["admin"],
        },
      },
    ]
  },











];
export default [
  {
    url: "/menu/navigate",
    type: "post",
    response(config) {
      return { code: '200', msg: "success", data: data };
    },
  },
];
